package Bondarenko.algorithm.calc;
import java.util.Random;

//create random char + or - or / or *


public class RandomStringOperation {
	
	public static char randStrOp(){
		Random random = new Random(); 
		Operation s=  Operation.values()[random.nextInt(Operation.values().length)];
		
		char c=0;
		 if (s == Operation.PLUS) c = '+';
		 if (s == Operation.MINUS) c = '-';
		 if (s == Operation.MULTIPLY) c = '*';
		 if (s == Operation.DIVIDE) c = '/';
		
		return c;
	}

}
